package la.bbs558.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import la.bbs558.dao.UserOptionDao;
import la.bbs558.entity.UserOption;
import la.bbs558.entity.vo.IndexCollectVO;
import la.bbs558.service.UserOptionService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 用户收藏表(UserOption)表服务实现类
 *
 * @author weihanmin
 * @since 2023-12-17 21:00:59
 */
@Service("userOptionService")
public class UserOptionServiceImpl extends ServiceImpl<UserOptionDao, UserOption> implements UserOptionService {

    @Override
    public List<IndexCollectVO> collectBoardList(long userId) {
        return getBaseMapper().collectBoardList(userId);
    }
}

